///**
// * 
// * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
// * 
// * 
// * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
// * 
// * */
//package com.ruipengkj.view.memberView;
///**
// * 说明：
// * 采购报表主界面
// * @Author：黄盛强
// * @Date：2012-03-21
// */
//import java.awt.BorderLayout;
//import java.awt.CardLayout;
//import java.awt.Component;
//import javax.swing.JButton;
//import javax.swing.JPanel;
//import javax.swing.JProgressBar;
//import javax.swing.JScrollPane;
//import javax.swing.JSplitPane;
//import javax.swing.JTable;
//import javax.swing.SwingUtilities;
//import com.ruipengkj.bean.TRole;
//import com.ruipengkj.commons.base.query.PageView;
//import com.ruipengkj.component.page.PagingComponent;
//import com.ruipengkj.model.DataRightModel;
//import com.ruipengkj.model.DataRoleModel;
//import com.ruipengkj.view.base.BasePanel;
//import com.ruipengkj.view.statementView.StatementDemo;
//import com.ruipengkj.view.statementView.StatementPermissions;
//
//public class demoPanel extends BasePanel{
//	private static final long serialVersionUID = 1L;
//	private StatementPermissions statementPurchaseOrder;// 翻页组件
//	private StatementDemo statementDemo;
//	private CardLayout right_layout;
//	private CardLayout left_layout;
//	private JPanel right_panel;
//	private JPanel left_panel;
//	
//	public demoPanel() {
//		this.setLayout(new BorderLayout());
//		init();
//	}
//	
//	private void init() {
//		JSplitPane jsp = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
//		jsp.setTopComponent(initLeft());
//		JSplitPane jsp1 = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
//		JSplitPane jsp2 = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
//		JSplitPane jsp3 = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
//		jsp3.setLeftComponent(initLeft());
//		jsp3.setRightComponent(initLeft());
//		jsp2.setLeftComponent(initLeft());
//		jsp2.setRightComponent(jsp3);
//		jsp1.setTopComponent(jsp2);
//		jsp1.setBottomComponent(initRight());
//		jsp.setBottomComponent(jsp1);
//		this.add(jsp);
//	}
//		
//	private Component initRight() {
//		right_layout = new CardLayout();
//		right_panel = new JPanel(right_layout);
//		statementPurchaseOrder = new StatementPermissions();
//		right_panel.add(statementPurchaseOrder, "a");
//		right_layout.show(right_panel, "a");
//		SwingUtilities.invokeLater(statementPurchaseOrder);
//		return right_panel;
//	}
//
//	private JPanel initLeft() {
//		left_layout = new CardLayout();
//		left_panel = new JPanel(left_layout);
//		statementDemo = new StatementDemo();
//		left_panel.add(statementDemo, "a");
//		left_layout.show(left_panel, "a");
//		return left_panel;
//		
//	}
//	
//}